﻿using SARS.DAO;
using SARS.Entity;

namespace SARS.Biz
{
    public class AuthenticateBO : IAuthenticateBO
    {
        private readonly IAuthenticateDAO _dao = new AuthenticateDAO();

        public UserEntity ValidateUser(string userName, string passWord)
        {
            return _dao.ValidateUser(userName, passWord);
        }
    }
}